package com.snda.storage.service.sdk;

import org.joda.time.DateTime;

/**
 * 
 * @author wangzijian@snda.com
 * 
 */
public class Bucket extends ValueObject {

	private final String name;
	private final Location location;
	private final DateTime creation;

	public Bucket(String name, Location location, DateTime creation) {
		this.name = name;
		this.location = location;
		this.creation = creation;
	}

	public String getName() {
		return name;
	}

	public Location getLocation() {
		return location;
	}

	public DateTime getCreation() {
		return creation;
	}

}
